package com.edu.service;

import com.edu.pojo.Announcement;

import java.util.List;
/**
 *
 * 添加公告
 * 公告列表
 * 更新公告信息
 * 删除公告信息
 */
public interface AnnouncementService {
    int addAnnouncement(Announcement announcement);

    int deleteAnnouncementById(int id);

    int updateAnnouncement(Announcement announcement);

    List<Announcement> queryAnnouncement();



}
